<%@page contentType="text/html;charset=UTF-8"%>
<%@include file="/common/commonTag.jsp"%>

<html>
	<head>
		<title>添加模板</title>
		<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="${applicationScope.path}/style/styles.css">
		<link rel="stylesheet" type="text/css" href="${applicationScope.path}/style/main.css">
	</head>

	<body>
		<div class="context_head">
			后台管理 &gt;&gt; 添加模板
		</div>
		<div class="context_text">
		<form action="${applicationScope.path}/website/template!addTemplate.action"
			method="post">
			<table class="tables" width="50%">
				<tr>
					<th colspan="2" class="th1">
						添加模板
					</th>
				</tr>
				<tr>
					<td class="td3" align=right>
						属于分类：
					</td>
					<td class="td3">
						<select name="template.templateItem.tempItemId">
							<c:forEach var="template" items="${tempItem}">
								<option value="${template.tempItemId}">${template.tempItemName}</option>
							</c:forEach>
						</select>
					</td>
				</tr>
				<tr>
					<td class="td3" align=right>
						模板名称：
					</td>
					<td class="td3">
						<input type="text" class="input1" name="template.templateName" />
					</td>
				</tr>
				<tr>
					<td class="td3" align=right>
						模板存放路径：
					</td>
					<td class="td3">
						<input type="text" class="input1" name="template.templatePath" />
					</td>
				</tr>
				<tr>
					<td class="td3" align=right>
						输出名称：
					</td>
					<td class="td3">
						<input type="text" class="input1" name="template.exportName" value="无"/>
					</td>
				</tr>
				<tr>
					<td class="td3" align=right>
						模板描述：
					</td>
					<td class="td3">
						<input type="text" class="input1" name="template.templateDesc" />
					</td>
				</tr>
				<tr>
					<td colspan="2" align="center">
						<input type="submit" value="提交" />
					</td>
				</tr>
			</table>
		</form>
		</div>
	</body>
</html>
